<!-- eslint-disable @typescript-eslint/no-empty-function -->
<!-- eslint-disable vue/no-unused-components -->
<template>
  <QfPage title="我是首页">
    <div>
         <el-carousel :interval="5000"
          height="36rem"
           @change="changeImg"
            indicator-position="outside">
            <el-carousel-item v-for="(item,index) in images" :key="index">
            <el-image
                :class="className"
                style="width:100%; height:100%"
                :src="item.idView"
                fit="fit"></el-image>
            </el-carousel-item>
        </el-carousel>
    </div>
  </QfPage>
</template>
<script setup lang="ts">
import { useRoute } from 'vue-router';
import { onMounted, reactive } from 'vue';
// eslint-disable-next-line
const route = useRoute();

onMounted(() => {
  console.log('路由的信息是', route.query);
});

</script>
<script lang="ts">

export default {
  name: 'homePage',
};
</script>
<style scoped>
</style>
